import React from "react";
import ReactDOM from "react-dom";
import { BrowserRouter } from "react-router-dom";
import { Context } from "./store/MyContext";

import "./index.css";
import App from "./App";
import store from "./store/index";

// let Context = createContext();

ReactDOM.render(
  <BrowserRouter>
    <Context.Provider value={store}>
      <App />
    </Context.Provider>
  </BrowserRouter>,
  document.getElementById("root")
);

// export { Context };
